home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / mac / DirectX SDK / DXSDK / samples / Multimedia / Direct3D / MFCFog / readme.txt < prev    next >
Text File  |  2001-10-10  |  2KB  |  42 lines

  1. //-----------------------------------------------------------------------------
  2. // Name: MFCFog Direct3D Sample
  3. // 
  4. // Copyright (c) 1998-2001 Microsoft Corporation. All rights reserved.
  5. //-----------------------------------------------------------------------------
  6.  
  7.  
  8. Description
  9. ===========
  10.    The MFCFog sample illustrates how to use Direct3D with MFC, using a
  11.    CFormView. Various controls are used to control fog parameters for the 3D
  12.    scene. 
  13.  
  14.  
  15. Path
  16. ====
  17.    Source:     DXSDK\Samples\Multimedia\D3D\MFCFog
  18.    Executable: DXSDK\Samples\Multimedia\D3D\Bin
  19.  
  20.  
  21. User's Guide
  22. ============
  23.    All user interaction for this sample is implemented through the visible MFC
  24.    controls (sliders, radio buttons, etc.). The user is encouraged to play with
  25.    controls and observe the various effects they have on the rendered 3D scene.
  26.  
  27.   
  28. Programming Notes
  29. =================
  30.    All the MFC code is contained with the CFormView class' derived member
  31.    functions. The code for the MFC and D3D initialization code can be found in
  32.    the d3dapp.cpp source file. This file can be easily ported to work with
  33.    another app, by simply stripping out the fog-related code.
  34.  
  35.    The Direct3D fog code is all contained in fog.cpp. Here you'll find functions
  36.    to initialize, animate, render, and cleanup the scene.
  37.  
  38.    This sample makes use of common DirectX code (consisting of helper functions,
  39.    etc.) that is shared with other samples on the DirectX SDK. All common
  40.    headers and source code can be found in the following directory:
  41.       DXSDK\Samples\Multimedia\Common
  42.